<?php


namespace app\api\controller;

use app\api\model\Member;
use app\common\controller\Frontend;

class Order extends Frontend
{
    protected array $noNeedLogin = [];


    public function initialize(): void
    {
        parent::initialize();
    }


    public function getOrder(){
        return json((new \app\api\model\Order())->getOrder($this->request_array));
    }


    public function confirmReceipt(){
        return json((new \app\api\model\Order())->confirmReceipt($this->request_array));
    }


    public function getOrderDetail(){
        return json((new \app\api\model\Order())->getOrderDetail($this->request_array));
    }

}